import { createApp } from "vue";
import App from "./App.vue";

const app = createApp(App);

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
app.use(ElementPlus)

// 按需引入 方法及过滤器方法无需引入
import { XiaobuButton, Copy, Replace} from "~/index"
app.use(XiaobuButton).use(Copy).use(Replace)

// import makeNpmPackage from "../lib/vue3-make-npm-package.umd.min"
// app.use(makeNpmPackage)

import vue3ElementDict from "vue3-element-dict"
import dictConfig from "./dict-config"
app.use(vue3ElementDict, dictConfig); //注册

app.mount("#app");